﻿#ifndef SETUP5WIND_H
#define SETUP5WIND_H

#include <QWidget>
#include <dbHelper.h>
#include <tcpclient.h>
#include <QIntValidator>
#include <QRegExpValidator>
#include <QSerialPortInfo>
#include <QSerialPort>
#include "speechmodulethread.h"

namespace Ui {
class setup5wind;
}

class setup5wind : public QWidget
{
    Q_OBJECT

public:
    explicit setup5wind(QWidget *parent = 0);
    ~setup5wind();
    Ui::setup5wind *ui;

signals:
    void changeTotalWindow();
    void refTcpStatusOn();
    void refTcpStatusOff();
private slots:
    void on_SaveBtn_clicked();
    void on_SaveBtn_2_clicked();
    void on_returnBtn_clicked();
    void on_pushButton_9_clicked();
    void on_comboBox_currentTextChanged(const QString &arg1);
    void on_radioButton_clicked(bool checked);
    void on_radioButton_2_clicked(bool checked);
    void doorStatusChanged();

private:
    void showEvent(QShowEvent *event) override;

private:

    TcpClient *tcpClient;
    CommonHelper *common;
    speechModuleThread* speechmd;
    int fl=0;

};

#endif // SETUP5WIND_H
